if [[ -f "$HOME/.rvm/scripts/rvm" ]]; then
  . "$HOME/.rvm/scripts/rvm"
  rvm system

  RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
  "${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/lib/rvm/rvm.rb"
fi
